home *** CD-ROM | disk | FTP | other *** search
/ Champak 130 / Vol 130.iso / games / target_s.swf / scripts / skate_gold_fla / bone_footR_120.as < prev    next >
Encoding:
Text File  |  2008-11-13  |  1.2 KB  |  50 lines

  1. package skate_gold_fla
  2. {
  3.    import adobe.utils.*;
  4.    import flash.accessibility.*;
  5.    import flash.display.*;
  6.    import flash.errors.*;
  7.    import flash.events.*;
  8.    import flash.external.*;
  9.    import flash.filters.*;
  10.    import flash.geom.*;
  11.    import flash.media.*;
  12.    import flash.net.*;
  13.    import flash.printing.*;
  14.    import flash.system.*;
  15.    import flash.text.*;
  16.    import flash.ui.*;
  17.    import flash.utils.*;
  18.    import flash.xml.*;
  19.    
  20.    [Embed(source="/_assets/assets.swf", symbol="skate_gold_fla.bone_footR_120")]
  21.    public dynamic class bone_footR_120 extends MovieClip
  22.    {
  23.        
  24.       
  25.       public function bone_footR_120()
  26.       {
  27.          super();
  28.          addFrameScript(0,frame1);
  29.       }
  30.       
  31.       internal function frame1() : *
  32.       {
  33.          switch(MovieClip(this.parent.parent).player.snum)
  34.          {
  35.             case 1:
  36.                gotoAndStop("A1");
  37.                break;
  38.             case 2:
  39.                gotoAndStop("B1");
  40.                break;
  41.             case 3:
  42.                gotoAndStop("C1");
  43.                break;
  44.             case 4:
  45.                gotoAndStop("D1");
  46.          }
  47.       }
  48.    }
  49. }
  50.